package org.jeecg.modules.exTenderFile.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
public class ScoreChapterTree  implements Serializable {
    private static final long serialVersionUID = 1L;
	private String id;
	private String pid;
	private String name;
	/**
	 * 类型编码
	 */
	private String code;
	/**
	 * 所属部门
	 */
	private String sysOrgCode;
	/**
	 * 是否有子节点
	 */
	@Excel(name = "是否有子节点(1:有)", width = 15)
	private String hasChild;
	/**
	 * 项目id
	 */
	private String projectId;
	/**评分标准id*/
	private String scoreStandardId;
	/**指标类型（综合指标、技术指标）*/
	private String standardType;

	@Excel(name = "指标名称", width = 15)
	@ApiModelProperty(value = "指标名称")
	private java.lang.String indicatorName;
	/**指标类型*/
	@Excel(name = "指标类型", width = 15)
	@ApiModelProperty(value = "指标类型")
	private java.lang.String indicatorType;
	/**分值*/
	@Excel(name = "分值", width = 15)
	@ApiModelProperty(value = "分值")
	private java.math.BigDecimal score;
	/**最小分值*/
	@Excel(name = "最小分值", width = 15)
	@ApiModelProperty(value = "最小分值")
	private java.math.BigDecimal scoreMin;
	/**最大分值*/
	@Excel(name = "最大分值", width = 15)
	@ApiModelProperty(value = "最大分值")
	private java.math.BigDecimal scoreMax;
	/**权重*/
	@Excel(name = "权重", width = 15)
	@ApiModelProperty(value = "权重")
	private java.math.BigDecimal weight;
	/**评审说明*/
	@Excel(name = "评审说明", width = 15)
	@ApiModelProperty(value = "评审说明")
	private java.lang.String description;

	private BigDecimal expertScore;

	private List<TenderScoreVO> scoreList;

	private List<ScoreChapterTree> children;
//	public ScoreChapterTree(ScoreChapter scoreChapter) {
//		this.id = scoreChapter.getId();
//		this.pid = scoreChapter.getPid();
//		this.name = scoreChapter.getName();
//		this.code = scoreChapter.getCode();
//		this.projectId = scoreChapter.getProjectId();
//		this.scoreStandardId = scoreChapter.getScoreStandardId();
//		this.standardType = scoreChapter.getStandardType();
//		this.hasChild = scoreChapter.getHasChild();
//		if ("1".equals(scoreChapter.getHasChild())) {
//			this.children = new ArrayList<ScoreChapterTree>();
//		}
//	}
}
